for i in range(1,10):
    j=1
    while j<=i:
        a=i*j
        print("{}*{}={}".format(i,j,a),end='\t')
        j+=1
    print('\n')